package com.lj.frame.role.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.lj.commons.exception.YerException;
import com.lj.frame.role.entity.Role;
import com.lj.frame.role.model.dto.AddRoleDto;
import com.lj.frame.role.model.dto.QueryRoleListParam;

import java.util.List;

public interface RoleService {
    IPage<Role> queryList(QueryRoleListParam queryRoleParam);

    Role info(Integer id);

    void save(AddRoleDto addRoleDto) throws YerException;

    void remove(List<Integer> roleIdList) throws YerException;
}
